﻿using System.ComponentModel.DataAnnotations.Schema;

namespace BlogSystem.Data.Entity;


[Table("sys_user")]
public class User : BaseEntity,IEntity
{
        
    /// <summary>
    /// 角色类型编号
    /// </summary>
    [Column("role_id")]
    public int RoleId { get; set; }    
    
    /// <summary>
    /// 用户姓名
    /// </summary>
    [Column("name")]
    public string Name { get; set; }
        
    /// <summary>
    /// 密码
    /// </summary>
    [Column("password")]
    public string Password { get; set; } 
        
    /// <summary>
    /// 手机号码
    /// </summary>
    [Column("phone")]
    public string Phone { get; set; }
        
        
     

}